/*
 * @Author: linzaifei 1609781601@qq.com
 * @Date: 2025-08-06 15:34:22
 * @LastEditors: linzaifei 1609781601@qq.com
 * @LastEditTime: 2025-08-15 14:25:37
 * @FilePath: /vue-cesium-electron/src/stores/map.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import { ref, computed } from 'vue'
import { defineStore } from 'pinia'


export const useMapStore = defineStore('map', {

    state: () => {
        return {
            satellite: true,//创建卫星图层
            road: true,//创建路网
            traffic:false,//创建实时交通路况图层
            showLocation:true,//开启定位
            scale:true,//开启放大比例
            toolbar:true,//开启工具栏 
            location:true,//开启定位
            buildings:false,//开启建筑物图层
        }
    },
    actions: {
        
       
          
    }, 
    persist:true

})
